<script type="text/javascript">
var LOAD_REPLY_LIST_URL = "{:u("WeixinReply/ajaxnews",array('main_id'=>$reply['id']))}";
</script>
 <load href='__TMPL__Common/js/weixin/init_relate_reply.js' />
 <!-- 多图文 -->
<div class="control-group cf clearfix">
	<label class="control-label" > 多图文回复 </label>
	<div class="controls">
		<button type="button" class="btn" id="add_relate_reply">添加</button>
		<span class="help-inline">最多9个</span>
	</div>
</div>
<div class="control-group cf clearfix" id="relate_table_div" <if condition="!$relate_replys">style="display:none;"</if> >
	<div class="controls" id="relate_reply_box">
 		<if condition="$relate_replys">
		<table id="relate_table" class="dataTable">
			<tr>
				<th>操作</th>
				<th>回复内容</th>
			</tr>
 			<foreach name="relate_replys" item="relate_reply">
			<tr>
				<td><a class="remove_relate" href="javascript:void(0);">删除</a></td>
				<td>
					<input type="hidden" value="{$relate_reply.id}" name="relate_reply_id[]" id="relate_reply_id_{$relate_reply.id}">
					{$relate_reply.reply_news_description}
				</td>
			</tr>
			</foreach>
		</table>
		</if>
	</div>
</div>
<!-- 多图文 -->